﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.iRods.Common;

namespace Renci.iRods.Data
{
    public class QuotaUsage : DataItem
    {
        [iRodsColumn(DataObjectAttributes.COL_QUOTA_USAGE_USER_ID)]
        public long UsageUserID { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_QUOTA_USAGE_RESC_ID)]
        public long UsageResourceID { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_QUOTA_USAGE)]
        public long Usage { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_QUOTA_USAGE_MODIFY_TIME)]
        public DateTime UsageModifiedTime { get; internal set; }

        internal QuotaUsage(IRodsConnection connection)
            : base(connection)
        {

        }
    }
}
